/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapInstituteNew.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月17日下午7:01:56
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(研究机构表(新))
 * @author lvxc
 * @date 2018年4月17日 下午7:01:56
 */
@Document(indexName = "dm_map_institute_new", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapInstituteNew implements Serializable{
        
    private static final long serialVersionUID = 1L;
    
    @Id
    private String id;

    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;
    
    /**
     * @Fields address : TODO(地址)
     */
    @Field(type = FieldType.keyword)
    private String address;
    
    /**
     * @Fields address_area : TODO(所属区县)
     */
    @Field(type = FieldType.keyword)
    private String address_area;
    
    /**
     * @Fields address_city : TODO(所属市)
     */
    @Field(type = FieldType.keyword)
    private String address_city;
    
    /**
     * @Fields address_country : TODO(国家)
     */
    @Field(type = FieldType.keyword)
    private String address_country;
    
    /**
     * @Fields address_province : TODO(所属省份)
     */
    @Field(type = FieldType.keyword)
    private String address_province;
    
    /**
     * @Fields discipline : TODO(领域)
     */
    @Field(type = FieldType.keyword)
    private String discipline;
    
    /**
     * @Fields ismedical : TODO(是否医健)
     */
    @Field(type = FieldType.keyword)
    private String ismedical;
    
    /**
     * @Fields isnative : TODO(是否国内)
     */
    @Field(type = FieldType.keyword)
    private String isnative;
    
    /**
     * @Fields lat : 
     */
    @Field(type = FieldType.keyword)
    private String lat;
    
    /**
     * @Fields lon : 
     */
    @Field(type = FieldType.keyword)
    private String lon;
    
    /**
     * @Fields lon_lat : 
     */
    @Field(type = FieldType.keyword)
    private String lon_lat;
    
    /**
     * @Fields name : TODO(机构名称)
     */
    @Field(type = FieldType.keyword)
    private String name;
    
    /**
     * @Fields weight_json : TODO(字段来源)
     */
    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

}

